<?php defined('LFNC_PACKAGE') or die('forbidden');


/**
* MLT Web Engine
* http://www.molotsoft.ru
*
* @package MLT_WE
* @subpackage Lucky_Funcs
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: in_range_old.lfnc.php 273 2009-06-24 18:42:40Z molotsoft@gmail.com $
* @link $HeadURL: http://lucky-funcs.googlecode.com/svn/trunk/funcs/variable/in_range_old.lfnc.php $
*/


function in_range_old($min, $var, $max) {
	return settype($min, gettype($var)) && settype($max, gettype($var)) && ($min <= $var) && ($var <= $max);
}


?>